package com.kzd.gtboon.entity

import com.module.lemlin.http.HttpResponseData
import java.io.Serializable


data class GameVip(
    val name: String,
    val `val`: String,
) : Serializable

/**
 * 游戏福利数据结构
 * */
data class GameWelfare(
    val activity: MutableList<WelfareDoing> = mutableListOf(),
    val fuli: MutableList<WelfareCoupon> = mutableListOf(),
    val lb: MutableList<WelfareGift> = mutableListOf(),
    val rebate: String? = null,
    val rebate_str: String? = null,
)

class WelfareGiftGetResponse : HttpResponseData() {
    var isDraw: Int = 0
    var position: Int = 0
}

/**
 * 游戏福利-礼包
 * */
data class WelfareGift(
    val bgimg: String,
    val cardname: String,
    val cate: String,
    val content: String,
    val end_time: String,
    val gid: String,
    val gname: String,
    val id: String,
    val is_huiyuan: String,
    val meth: String,
    val num: String,
    val start_time: String,
    val tj_icon: String,
    val tuijian: String,
    var is_draw: Int,
    val type: String,
)

/**
 * 游戏福利-券
 * */
data class WelfareCoupon(
    val id: String,
    val count: Int,
    val end_str: String,
    val end_time: String,
    val game_name: String,
    val gid: String,
    val is_draw: Boolean,
    val jian: String,
    val limit: String,
    val money: String,
    val name: String,
    val num: String,
    val start_time: String,
    val status: Int,
    val statusStr: String,
)

/**
 * 游戏福利-活动
 * */
data class WelfareDoing(
    val abgame: String,
    val bofang: String,
    val class_id: String,
    val content: String,
    val description: String,
    val end_time: String,
    val id: String,
    val image: String,
    val image2: String,
    val image3: String,
    val image_small: String,
    val is_best: String,
    val keywords: String,
    val limit_rs: String,
    val limit_str: String,
    val pingfen: String,
    val show_date: String,
    val sort: String,
    val start_time: String,
    val statusStr: String,
    val time: String,
    val title: String,
    val type: String,
    val video: String,
    val videourl: String,
    val zan: String,
    val url: String,
)

/**
 * 游戏分类
 * */
data class ClassifyTab(
    val id: String,
    val name: String,
)

data class GameFeatured(
    val slide: MutableList<GameBean> = mutableListOf(),
    val game: MutableList<GameGroup> = mutableListOf(),
)

data class GameGroup(
    val id: String,
    val title: String,
    val list: MutableList<GameBean> = mutableListOf(),
)

/**
 * 游戏代金券
 * */
data class GameCoupon(
    val all_money: String,
    val biaoqian: MutableList<String> = mutableListOf(),
    val count: String,
    val icon: String?,
    val id: String,
    val name: String,
    val number: String,
    val size: String,
    val summary: String,
    val system_type: String,
    val type: String,
)


class ServiceRemindResponse : HttpResponseData() {
    var isRemind: Int = 0
    var position: Int = 0
}

/**
 * 游戏详情-开服
 * */
data class GameService1(
    val create_time: String = "",
    val game_id: String = "",
    val id: String = "",
    var remind_rs: Int = 0,
    val server_name: String = "动态开服",
    val time1: String = "",
    val type: Int = 0,
)


data class ServiceTime(
    val times: MutableList<String> = mutableListOf(),
    val list: MutableMap<String, MutableList<GameService>> = mutableMapOf(),
)

data class ServiceTitleResponse(
    val data: MutableList<ServiceTitle> = mutableListOf(),
) : HttpResponseData() {
    var times: MutableList<String> = mutableListOf()
}

data class ServiceTitle(
    val title: String,
    val list: MutableList<GameService> = mutableListOf(),
)

data class GameGift(
    val card_no: String,
    val content: String,
    val create_time: String,
    val end_time: String,
    val game_id: String,
    val icon: String,
    val id: String,
    val lb_id: String,
    val meth: String,
    val name: String,
    val server_id: String,
    val state: String,
    val type: String,
    val user_id: String,
)
